package com.gateway.ctl;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Mono;

/**
 * 网关ctl
 *
 * @author dzh
 * @date 2023/1/13 8:52
 */
@RestController
@RequestMapping
public class GatewayCtl {

    @GetMapping("say")
    public Mono<Object> say() {
        return Mono.just("hello");
    }
}
